From 60ecf7f65a92cc1d56f2b5f1bf8ed05c5306c902 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 27 Feb 2010 21:23:20 +0000 Subject: [PATCH] Fix for alerts in Garmin GPI. --- garmin_gpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garmin_gpi.c b/garmin_gpi.c index e01f5598d..01a6e2a89 100644 --- a/garmin_gpi.c +++ b/garmin_gpi.c @@ -931,7 +931,7 @@ wdata_write(const writer_data_t *data) gbfputint32(GPS_Math_Deg_To_Semi(wpt->longitude), fout); gbfputint16(1, fout); /* ? always 1 ? */ - gbfputc(0, fout); /* seems to be 1 when extra options present */ + gbfputc(alerts, fout); /* seems to be 1 when extra options present */ write_string(wpt->shortname, 1); -- 2.30.2